package sf.dsl.example;


public class WindowOver {
    protected SimpleField simpleField;

    public WindowOver(SimpleField simpleField) {
        this.simpleField = simpleField;
    }

    public WindowFirstLast keepFirst() {
        return new WindowFirstLast(simpleField, true);
    }

    public WindowFirstLast keepLast() {
        return new WindowFirstLast(simpleField, false);
    }

    public WindowFunction over() {
        return new WindowFunction(simpleField);
    }
}
